package com.microservice.common;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * write something please~
 *
 * @author huangrz
 * @since 2021/9/8
 **/
@Data
public class BaseEntity<TKeyType> implements Serializable {

    @TableId(type = IdType.INPUT)
    private TKeyType id;

    private String creator;

    private Date createDate;

    private String modifier;

    private Date modifyDate;

}
